#pragma once
#include "Ui_MainWindow.h"
namespace OCEANUI{
	class CMainWindowBase:
		public QMainWindow//,
	{
		Q_OBJECT
	public:
		CMainWindowBase(void);

		~CMainWindowBase(void);

		void onEventChanged(void* pParam,void* Sender);

		void  hookEvent(const QObject*); 

		static CMainWindowBase&  gInstance()
		{
			return *sOnly;
		}
	public slots:
			void onEvent(void* ,void* );
	signals:
		void notifyEventChange(void* pParam,void* pSender);

		static CMainWindowBase* sOnly;
	};
}